package com.GroupSix.service;

import com.GroupSix.entity.PaperGenerationRule;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface PaperGenerationRuleService extends IService<PaperGenerationRule> {
    //增
    Integer add(PaperGenerationRule rule);
    //删
    Integer delete(int id);
    //查
    PaperGenerationRule find(int id);
    //改
    Integer update(PaperGenerationRule rule);
    //分页查询
    IPage<PaperGenerationRule> list(PaperGenerationRule rule,Integer pageNo,Integer pageSize);
}
